package com.itheima.mapper;

import com.itheima.pojo.PageQueryParam;
import com.itheima.pojo.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper {

    long findAll(PageQueryParam pageQueryParam);

    List<User> page(PageQueryParam pageQueryParam);

    User login(User user);
}
